package com.youliao.spring5.aop_annotation;

import org.springframework.stereotype.Component;

/**
 * @Author Dali
 * @Date 2021/5/7 13:45
 * @Version 1.0
 * @Description: 被增强的类
 */
//1、创建类，在类里面定义方法
@Component
public class User {
    public void add() {
        System.out.println("add..");
    }
}
